import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import jquery from 'jquery'
import coupons from './components/coupons/coupons.vue'
// 导入腾讯地图，获取用户当前位置
import VueJsonp from 'vue-jsonp'
import User from "./user/User";
import Juris from "./jurisdiction/Juris";
import Logs from "./signlogs/Logs";

axios.defaults.baseURL ='http://localhost:8091'
Vue.prototype.$http = axios;
Vue.prototype.$ = jquery;
Vue.prototype.HOST = '/api';
Vue.prototype.$jsonp = VueJsonp
Vue.use(VueJsonp)
Vue.use(ElementUI);
Vue.component(App)
Vue.config.productionTip = false
Vue.component("User",User)
Vue.component("Juris",Juris)
Vue.component("Logs",Logs)

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')